package com.colin.userservice.service;

import com.colin.bean.User;
import com.colin.response.R;
import org.springframework.stereotype.Service;

@Service
public interface UserService {
    public R<Boolean> checkUsernameIsExist(String username);

    R<Boolean> doRegister(User user);

    R<User> doLogin(User user);
}
